<h1>My Profile</h1>

<script src="assets/js/user_validate.js" type="text/javascript" charset="utf-8"></script>

<?php
//$country=new country;

printformheader('',$_GET['cmd']);
begin_form($_GET['cmd'],$id);

$o['label']='First Name';
p_input('serial_first_name',$o,$e);

$o['label']='Last Name';
p_input('serial_last_name',$o,$e);






$o['label']='Address Line 1';
p_input('serial_user_address',$o,$e);

$o['label']='Address Line 2';
p_input('serial_user_address_1',$o,$e);

$o['label']='City ';
p_input('serial_user_city',$o,$e);

$o['label']='State';
p_input('serial_user_state',$o,$e);

$o['label']='Postcode';
p_input('serial_user_zip',$o,$e);
$o['label']='Country';
$o['none']=TRUE;
p_select('serial_country',$country->list,$e,'0','1',$o);


$o['label']='Telephone';
p_input('serial_user_mobile',$o,$e);



p_submit("Save","user_update");
end_form($_GET['cmd']);


printformfooter(NULL,NULL,NULL,NULL,NULL,NULL);

?>


<script type="text/javascript" charset="utf-8">
	$("#data_form").validate({
			rules: {
				serial_first_name: "required",
				serial_last_name: "required"
			
			}
		});
</script>